const http = uni.$u.http;

//  首次支付预下单 /api
export const apiFirstPayPreOrder = (params = {}) => http.post('/stb.helipay/quick_pay_first_pay_pre_order', params)

// 首次支付短信
export const apiFirstPayValidateCode = (params = {}) => http.post('/stb.helipay/quick_pay_first_pay_send_validate_code',
	params)

// 首次支付确认支付
export const apiFirstPay = (params = {}) => http.post('/stb.helipay/quick_pay_first_pay_confirm_pay', params)

// 获取绑卡记录 /api/
export const apiBindLogs = (data) => http.get('/stb.helipay/bindLogs', data)

//  绑卡支付预下单 /api/
export const apiBindPayPreOrder = (params = {}) => http.post('/stb.helipay/quick_pay_bind_pay_pre_order', params)

//  绑卡支付短信 /api/
export const apiPayValidateCode = (params = {}) => http.post('/stb.helipay/quick_pay_bind_pay_send_validate_code',
	params)

// 绑卡支付确认支付 /api/
export const apiConfirmPay = (params = {}) => http.post('/stb.helipay/quick_pay_confirm_bind_pay', params)